home *** CD-ROM | disk | FTP | other *** search
- ////activeBreadboard. lockWindowUpdate()
- //
- // This macro creates the standard linear regression breadboard
- //
- subtitleTextBox. setText ("")
- mainTextBox. setText ("")
- //
- activeBreadboard. stampOnAndMove ( "BackStaticControl" , "control" )
- activeBreadboard. select ( "controlBackprop" , FALSE )
- controlBackprop. allocateBackpropPlane ( )
- activeBreadboard. select ( "r2DLLBackprop" , FALSE )
- activeBreadboard. cutSelection ( )
- activeBreadboard. select ( "arrowEngine" , FALSE )
- activeBreadboard. cutSelection ( )
- activeBreadboard. select ( "hidden1SynapseBackpropGradient" , FALSE )
- hidden1SynapseBackpropGradient. setStepSize ( 0.005000 )
- control. setEpochs ( 200 )
-
- activeBreadboard. select ( "WeightTextBox" , FALSE )
- activeBreadboard. select ( "WeightEditBox" , TRUE )
- activeBreadboard. select ( "BiasTextBox" , TRUE )
- activeBreadboard. select ( "BiasEditBox" , TRUE )
- activeBreadboard. cutSelection ( )
- hidden1Synapse. setWeightMean ( 1.000000 )
- outputAxon. setWeightMean ( 1.000000 )
-
- //
- // fill in text
- //
- TextBoxPath = macro. pathFromMacro("textBox1.txt")
- NextMacroPath = macro. pathFromMacro ( "4 summary.nsm" )
- nextButton. setMacroPath ( NextMacroPath )
- CancelMacroPath= macro.pathFromMacro("..\minimize.nsm")
- cancelButton. setMacroPath ( CancelMacroPath)
- TitleIndex = titleTextBox. setTextFromFile (TextBoxPath,0)
- SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, 0)
- MainIndex = mainTextBox. setTextFromFile (TextBoxPath, 0)
- ////activeBreadboard. unlockWindowUpdate()
-